package com.mbc.rmt.dao;

import java.sql.SQLException;
import java.util.ArrayList;
import com.mbc.rmt.data.CashPaymentDetailsDataList;
import com.mbc.rmt.entities.CashPayment;
import com.mbc.rmt.entities.CashPaymentCri;
import com.mbc.rmt.entities.CashPaymentDetails;
import com.mbc.rmt.entities.DefinePaymentTypeDetail;

public interface CashPaymentDetailDAO {
	
	public void create(CashPaymentDetails infodetail) throws SQLException;
	
	public void updateTranStatusDPD(DefinePaymentTypeDetail infodetail) throws SQLException;
	
	public void update(CashPaymentDetails infodetail)throws SQLException;
	
	public void delete(long key) throws SQLException;
	
	public CashPaymentDetails find(long slipdetialkey,long definedetailkey) throws SQLException;
	
	public CashPaymentDetails finddefinepaidamt(long key) throws SQLException;
	
	public void deleteRow(long key) throws SQLException;
	
	public ArrayList<CashPaymentDetails> getCashPaymentDetaillist(CashPayment entity) throws SQLException;
	
	public CashPaymentDetailsDataList findCashPaymentDetaillist(CashPaymentCri cri) throws SQLException;
	
	public ArrayList<CashPaymentDetails> getCashPaymentInfolist(long slipkey) throws SQLException;
		
}
